﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExampleClass
{
    abstract class absClass
    {
        protected int myNumber;
        public abstract int numbers{
            get;
            set;
        }
    }
    class absDerived : absClass
    {
        public override int numbers
        {
            get
            {
                return myNumber;
            }
            set
            {
                myNumber = value;
            }
        }
    }

        class Program { 
        static void Main()
        {
            absClass b=new absDerived();
            b.numbers=10;
            Console.Write(b.numbers);
        }
    }
}
